<?php

class Inspector
{
    private $_class;
    
    public function __construct($class) {
        $this->_class = $class;
    }
    
    public function _getClassProperties()
    {
        $inspector = new ReflectionClass($this->_class);
        return $inspector->getProperties();
    }
    
    public function _getClassName()
    {
        $inspector = new ReflectionClass($this->_class);
        return $inspector->getName();
    }
    
    public function _getClassMethods()
    {
        $inspector = new ReflectionClass($this->_class);
        return $inspector->getMethods();
    }
    
    public function _getMethodMeta($name)
    {
        $inspector = new ReflectionMethod($this->_class, $name);
        return $inspector->getDocComment();
    }
    
}